package controllers

import (
	"github.com/astaxie/beego"
	//"fmt"
    
	"beego/testApp/common/class"
	"beego/testApp/common/tool"
	//"time"
)

type ClassListController struct {
	beego.Controller
}

func (c *ClassListController) Get() {

	classobj := class.Class{}
    classlist :=  classobj.GetClassList(0)
	
	tool.Pic("class list ",classlist)

	c.Data["list"] = classlist 
	  
	c.TplName = "classlist.html"

}
